ExamPlay Light Logo
Zalogować się

Computer Science for IGCSE & O level - Programming (Section 1 - No. 42)

What is the purpose of an `ELSE` statement when used with an `IF` statement?
To execute a block of code if the `IF` condition is false.
To start a loop.
To declare a variable.
To terminate a procedure.

Wyjaśnienie

An `ELSE` block contains the code to run if the `IF` condition is not met (is false).

Uwagi (0)

Zaloguj się, aby skomentować
Reklama
BrainBehindX Inc Logo
©2026; Obsługiwane przez BrainBehindX Inc